package com.yuzhenxin.coursesystem.controller.course.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author zhenxin.yu
 * @description 新增课程信息
 * @date 2025-03-22 20:02
 **/
@Data
public class CourseCreateReqVO {

    @NotNull
    @Schema(title = "课程号")
    private Integer number;

    @NotBlank
    @Schema(title = "课程名称")
    private String name;

    @NotNull
    @Schema(title = "学分")
    private Float credit;
}
